<%@page contentType="text/html;charset=UTF-8" language = "java"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt"%>
<html>
	<head>
		<title>
			软件自动配置工具
		</title>
	</head>
	<body>
		<center>
		<h2><br> </h2><h2>软件搜索结果 </h2>
		<br>
		<hr>
			<font color = 'blue'>软件搜索结果列表</font>
		</center>
		<br>
		<form name = "form1" method = "post" action = "select.do">
			<table width = "50%" border = "0" align = "center" bordercolor = "white" bgcolor = "white" cellpadding = "0">
				<tr bgcolor = "#CCFF22" align = "center">
					<td>选中</td>
					<td>名称</td>
					<td>大小</td>
					<td>类型</td>
					<td>适用系统</td>
				</tr>
				<c:forEach items="${softwarepoollist}" var="item">
					<tr bgcolor = "yellow" align = "center">
						<td><input type = "checkbox" name = "beselected" value =<c:out value="${item.id}"/> >
						<td><c:out value="${item.swname}"/></td>
						<td><c:out value="${item.size}"/></td>
						<td><c:out value="${item.softtypeid}"/></td>
						<td><c:out value="${item.osname}"/></td>
					</tr>
				</c:forEach>
	</table>
	<br>
	<br>
	<center>
		<tr>
			<td>
				<p><div align = "center"><font size =4 color = "green"> 如果需要上传，请您点击<a href = "softwareRedirect.do?action=upload">这里</a>&nbsp;&nbsp;&nbsp;&nbsp;<a href ="softwareRedirect.do?action=select">另外搜索</a></font></div>
			</td>
		</tr>
		<br>
		<tr>
			<td>
					<input type = "submit" value = "添加到配置文件">
			</td>
		</tr>
	</center>
				</form>
	</body>
</html>